package com.spr;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@org.springframework.boot.autoconfigure.SpringBootApplication
@MapperScan(basePackages = "com.spr.mapper")
@EnableSwagger2   //开启swagger http://localhost:9199/swagger-ui.html
public class SpringBootApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootApplication.class,args);
    }
}
